﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Order.aspx.cs" Inherits="Liguo.Store.Order" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>确认订单</title>
    <script src="../js/artDialog/artDialog.js"></script>
    <script src="../js/artDialog/plugins/iframeTools.js"></script>
    <link href="../css/cartshow.css" rel="stylesheet" />
    <link rel="stylesheet" href="../js/artDialog/skins/simple.css" />
    <link rel="stylesheet" href="../css/frame.css" />
    <style>
        .remarkBox {
            height: 120px;
            width: 500px;
            border: 1px solid;
            border-color: #808080;
        }

        .lbutton:hover {
            cursor:pointer;
            color: #ff6a00;
        }

        .lbutton {
            color: white;
        }

        .bottom {
            width: 100%;
            height: 40px;
            position: relative;
            top: 80px;
        }

        .auto-style1 {
            width: 500px;
        }

        .order_content {
            width:600px;
            position:relative;
            top:20px;
            left:400px;
        }

        .addr_style {
            border-bottom:1px solid;
            border-bottom-color:#808080;
        }
    </style>
    <script>
        (function (config) {
            config['lock'] = true;
            config['fixed'] = true;
            config['okVal'] = 'Ok';
            config['cancelVal'] = 'Cancel';
            config['width'] = '300px';
            // [more..]
        })(art.dialog.defaults);
        function fund(i) {
            art.dialog.data('index', i);
            var _name = document.getElementById('name' + i).value;
            art.dialog.data('name', _name);
            var _address = i;
            art.dialog.data('address', i);
            var _phone = document.getElementById('phone' + i).value;
            art.dialog.data('phone', _phone);
            var _detail = document.getElementById('detail' + i).value;
            art.dialog.data('detail', _detail);
            art.dialog.open('./ChangeAddress.aspx');
            return false;
        }
        function getRadio(i) {
            document.getElementById("getRadio").value = i;
        }
        function fundd() {
            art.dialog.open('./Addaddress.aspx');
            return false;
        }
    </script>
    
</head>
<body>
    <div class="header">
        <!--兼容IE早期版本的做法，不用在意-->
        <iframe src="Header.aspx" frameborder="no" border="no"></iframe>
    </div>
    <div class="order_content">
        <form id="form1" runat="server">
            <div>
                <h4>选择配送地址：</h4>
                <table id="addressTable" runat="server">
                    <tbody></tbody>
                </table>
                <br />
                <input type="button" value="创建新地址" onclick="fundd();" class="submit_button" />
            </div>
            <br />
            <br />
            <br />
            <div>
                <table id="dealTable" cellspacing="0" runat="server">
                    <tbody>
                    </tbody>
                </table>
                <table>
                    <tr width=" 200">
                        <td class="auto-style1">
                            <h3>您想补充点什么吗：</h3>
                            <asp:TextBox ID="remark" runat="server" MaxLength="200" Rows="5" TextMode="MultiLine" CssClass="remarkBox" Columns="40"></asp:TextBox>
                        </td>
                        <td align="right">
                            <asp:Button class="submit_button" ID="submitOrder" Text="提交订单" runat="server" OnClick="submitOrder_Click" />
                        </td>
                    </tr>
                </table>
            </div>
        </form>
    </div>
    <div class="bottom">
        <!--兼容IE早期版本的做法，不用在意-->
        <iframe src="Bottom.aspx" frameborder="no" border="no"></iframe>
    </div>
</body>
</html>
